package com.myproject.myapp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.myproject.myapp.dao.MariaDao;
import com.myproject.myapp.service.MariaService;
import com.myproject.myapp.vo.MariaVo;

@Service
public class MariaServiceImpl implements MariaService{

	@Autowired
	private MariaDao mariaDao;
	
	@Override
	public void add(MariaVo mariaVo) {
		mariaDao.add(mariaVo);
	}

	@Override
	public MariaVo getView(int num) {
		return new MariaVo(1,"010","guro","maria");
	}

	@Override
	public void edit(int num) {
	
	}

	@Override
	public void del(int num) {
		
	}

	
	
}
